@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?tomleg');
    src: url('../fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.ttf?tomleg') format('truetype'),
        url('../fonts/icomoon.woff?tomleg') format('woff'),
        url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

$w:1226px;
$r:right;
$l:left;

.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}

//快捷导航
.shortcut {
    background-color: #333333;
    height: 40px;
    width: 100%;

    .w {
        width: $w;
        margin: 0 auto;

        .sl {
            width: 50%;
            height: 40px;
            float: $l;

            a {
                display: inline-block;
                text-align: center;
                line-height: 40px;
                padding: 0 5px;
                /* border-right: 1px solid #b0b0b0; */
                color: #b0b0b0;
            }

            a:hover {
                color: #fff;
            }
        }

        .sr {
            height: 40px;
            width: 50%;
            float: $r;

            .shopcar {
                float: $r;
                position: relative;
                width: 120px;
                height: 40px;
                text-align: center;
                line-height: 40px;
                font-size: 14px;
                text-indent: 20px;
                color: #b0b0b0;
            }

            .shopcar::after {
                position: absolute;
                left: -12px;
                top: 1px;
                content: '\e93a';
                font-family: 'icomoon';
                margin-left: 10px;
                font-size: 14px;
                color: #b0b0b0;
            }

            .regsiter {
                float: $r;
                width: 163px;
                height: 40px;

                .qdl {
                    display: inline-block;
                    text-align: center;
                    line-height: 40px;
                    padding: 0 5px;
                    color: #b0b0b0;
                    display: block;
                }

                .ydyh {
                    display: inline-block;
                    text-align: center;
                    line-height: 40px;
                    padding: 0 5px;
                    font-size: 14px;

                    color: white;

                }
            }
        }

    }

}

//头部
.head {
    height: 100px;
    background-color: #fff;
    position: relative;

    .w {
        width: $w;
        margin: 0 auto;

        .logo {
            float: $l;
            width: 242px;
            height: 100%;
            padding-top: 21px;

            .nav_logo {
                display: block;
                width: 56px;
                height: 56px;
                background: url(../images/logo-mi2.png) no-repeat;
                background-size: 56px 56px;
            }
        }

        .nav {
            float: $l;
            width: 683px;
            height: 100%;

            li {
                float: left;
                text-align: center;
                padding: 0 10px;

                .submenu {
                    width: 100%;
                    height: 227px;
                    background-color: #fff;
                    position: absolute;
                    left: 0;
                    top: 97px;
                    box-shadow: 3px 3px 10px #424242;
                    display: none;

                    ul {
                        width: $w;
                        margin: 0 auto;
                        display: flex;

                        li {
                            padding-top: 20px;
                            width: 16.6%;
                            height: 227px;
                            padding-right: 10px;
                            justify-content: center;

                            img {
                                display: block;
                                border-right: #e0e0e0 1px solid;
                                width: 160px;
                                height: 110px;
                                margin-bottom: 20px;
                            }

                            .nth {
                                border: 0;
                            }

                            p {
                                font-size: 14px;
                                line-height: 30px;
                                color: #000;
                            }

                            span {
                                color: #fe690c;
                                margin-top: 15px;
                            }
                        }
                    }


                }

                a {
                    color: #333333;
                    line-height: 100px;
                    font-size: 16px;
                }

                a:hover {
                    color: #fe690c;
                }
            }

            li:hover {

                .submenu {
                    display: block;
                    z-index: 1;

                }

            }
        }

        .serch {
            float: $l;
            width: 300px;
            height: 100px;
            padding-top: 28px;

            .serch_bar {
                width: 296px;
                height: 50px;
                position: relative;

                .clearfix:after {
                    visibility: hidden;
                    clear: both;
                    display: block;
                    content: ".";
                    height: 0
                }

                .serch_con {
                    width: 243px;
                    height: 48px;
                    float: left;
                    border: 1px solid #e0e0e0;
                    outline: none;
                    text-indent: 10px;
                    transition: border-color 0.3s;

                }

                .serch_con:focus {
                    border-color: orange;
                }

                .serch_btn {
                    border-color: orange;
                    float: left;
                    height: 48px;
                    width: 50px;
                    border: 1px solid #e0e0e0;
                    border-left: 0;
                }

                .serch_btn::after {
                    position: absolute;
                    left: 244px;
                    top: 7px;
                    content: '\e986';
                    font-family: 'icomoon';
                    margin-left: 10px;
                    font-size: 22px;
                    color: #b0b0b0;
                }


            }


        }


    }
}

//banner
.banner_warp {
    width: 100%;
    height: 460px;

    background-color: white;

    .banner {
        height: 460px;
        width: $w;
        margin: 0 auto;
        position: relative;
        overflow: hidden;

        .banner_lb {
            width: 1226px;
            height: 460px;
            position: relative;
            margin: 0 auto;
            overflow: hidden;

            ul {
                width: 6130px;
                display: flex;
                position: absolute;
                left: 0;

                li {
                    width: 1226px;
                    height: 460px;
                    line-height: 400px;
                    text-align: center;
                    font-size: 100px;
                    background-color: pink;

                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
            }

            ol {
                position: absolute;
                bottom: 10px;
                width: 100%;
                display: flex;
                justify-content: center;

                li {
                    width: 10px;
                    height: 10px;
                    border: 2px #7b868e solid;
                    border-radius: 100%;
                    background-color: #597190;
                    margin: 5px;
                }
            }

            .on {
                background-color: #cddfec;
            }

            .prev {
                position: absolute;
                left: 245px;
                top: 200px;
                width: 20px;
                height: 20px;
                line-height: 20px;
                font-size: 40px;
            }

            .next {
                position: absolute;
                right: 18px;
                top: 210px;
                width: 20px;
                height: 20px;
                line-height: 20px;
                font-size: 44px;
            }
        }

        //二级导航 侧边
        .menu_ce {
            width: 234px;
            height: 460px;
            position: absolute;
            background-color: rgba(0, 0, 0, 0.5);
            top: 0;
            left: 0;



            ul {
                margin-top: 27px;

                li {
                    height: 42px;
                    line-height: 42px;
                    width: 100%;

                    .submenu_ce {
                        position: absolute;
                        width: 990px;
                        height: 460px;
                        background-color: #fff;
                        left: 235px;
                        top: 0px;
                        box-shadow: 3px 3px 10px #424242;
                        display: none;


                        .submenu_ce_er {
                            width: 100%;
                            height: 100%;
                            display: flex;
                            flex-wrap: wrap;

                            a {
                                width: 22%;
                                height: 16.6%;
                                display: inline-block;
                                display: flex;
                                align-items: center;

                                color: #333333;

                                img {
                                    width: 40px;
                                    height: 40px;
                                }
                            }
                        }

                    }

                    a {
                        color: #fff;
                        font-size: 15px;
                        margin-left: 28px;
                        height: 100%;
                        width: 100%;

                        i {
                            float: right;
                        }
                    }
                }

                li:hover {
                    background-color: #ff6a00;

                    .submenu_ce {
                        display: block;
                    }
                }
            }

        }

    }



}

//明星单品
.start_cp {
    .hero_warp {
        width: 100%;
        background-color: white;
        padding-top: 20px;

        .hero {
            height: 170px;
            width: $w;
            margin: 0 auto;

            .hero_home {
                float: $l;
                display: flex;
                flex-wrap: wrap;
                align-content: space-around;
                align-content: center;
                width: 233px;
                height: 100%;
                background-color: #5f5750;
                margin-right: 13px;

                a {
                    display: block;
                    width: 77px;
                    height: 80px;
                    border-right: 0.5px solid #665e57;
                    border-bottom: 0.5px solid #665e57;
                    color: #cfccca;
                    text-align: center;
                    padding-top: 10px;

                    span {
                        display: block;
                        font-family: "icomoon";
                        font-size: 25px;
                        color: #cfccca;
                        text-align: center;
                    }

                }

                a:nth-child(3),
                a:nth-child(6) {
                    border-right: none;
                }

                a:nth-child(4),
                a:nth-child(5),
                a:nth-child(6) {
                    border-bottom: none;

                }
            }

            .dn {
                float: $l;
                width: 318px;
                height: 100%;
                margin-right: 13px;

                .img_size {
                    height: 100%;
                    width: 100%;
                }
            }

            .sj {
                float: $l;
                width: 318px;
                height: 100%;
                margin-right: 13px;

                .img_size2 {
                    height: 100%;
                    width: 100%;
                }
            }

            .ds {
                float: $l;
                width: 318px;
                height: 100%;

                .img_size3 {
                    height: 100%;
                    width: 100%;
                }
            }
        }
    }


    //广告位
    .advertising {
        width: $w;
        margin: 0 auto;
        height: 120px;
        background-color: pink;
        margin-top: 30px;
    }

    .star {
        width: $w;
        margin: 0 auto;
        height: 445px;
        margin-top: 25px;

        .star_tit {
            height: 60px;
            width: 100%;

            span {
                display: inline-block;
            }

            span {
                font-size: 22px;
                line-height: 60px;
                color: #333333;
            }

            a {
                display: block;
                width: 36px;
                height: 24px;
                line-height: 24px;
                border: 1px solid #e8e8e8;
                float: right;
                margin-top: 15px;
                text-align: center;

                span {
                    font-family: "icomoon";
                    font-size: 20px;
                    line-height: 24px;
                    color: #e0e0e1;
                    text-align: center;
                }
            }

            a:nth-child(3) {
                border-right: none;
            }

        }

        .star_item {
            display: flex;
            flex-wrap: wrap;
            /* align-content: ; */
            justify-content: space-between;
            height: 342px;
            width: 100%;

            a {
                .item {
                    width: 239px;
                    height: 342px;
                    background-color: #fafafa;
                    text-align: center;

                    .item_img {
                        width: 100%;
                        height: 200px;
                        text-align: center;
                        padding: 20px 0;

                        img {
                            height: 160px;
                            width: 160px;
                        }
                    }

                    h3 {
                        margin: 10px 0;
                        color: #000;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        -o-text-overflow: ellipsis;
                    }

                    p {
                        color: #b3b6bc;
                        font-size: 14px;
                        margin-bottom: 20px;
                    }

                    span {
                        color: #fe690c;
                        font-size: 15px;
                    }
                }

                .item:hover {
                    transform: translateY(-2px);
                    box-shadow: 10px 10px 10px 3px #ddd;
                    transition: 0.3s;
                }
            }


        }

    }

}

//主体
.containerr {
    background-color: #f5f5f5;
    width: 100%;

    //智能绿茶
    .hardwarr {
        height: 733px;
        width: $w;
        margin: 0 auto;

        .hardwarr_tit {
            height: 74px;
            width: 100%;
            line-height: 74px;

            span:first-child {
                font-size: 22px;
                color: #333333;
            }

            span:last-child {
                font-size: 14px;
                color: #424242;

                i {
                    font-family: "icomoon";
                    font-size: 14px;
                    margin: 0 10px;

                }
            }
        }

        .hardwarr_cp {
            width: 100%;
            height: 620px;

            .hardwarr_hb {
                float: $l;
                width: 239px;
                height: 100%;

                img {
                    width: 100%;
                    height: 100%;
                }
            }

            .hardwarr_hb:hover {
                transform: translateY(-2px);
                box-shadow: 10px 10px 10px 3px #ddd;
                transition: 0.3s;
            }

            .hardwarr_list {
                float: $l;
                height: 100%;
                width: 983px;
                margin-left: 4px;
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                align-content: space-between;

                a {
                    li {
                        width: 239px;
                        height: 306px;
                        text-align: center;
                        background-color: #fff;

                        p:nth-of-type(1) {
                            font-size: 16px;
                            color: #000;
                            overflow: hidden;
                            white-space: nowrap;
                            text-overflow: ellipsis;
                            -o-text-overflow: ellipsis;
                        }

                        p:nth-of-type(2) {
                            font-size: 14px;
                            margin: 7px 0 15px 0;


                        }

                        span {
                            color: #ff7d23;
                            font-size: 15px;
                        }

                        .har_img {
                            height: 200px;
                            width: 100%;
                            text-align: center;

                            img {
                                height: 200px;
                                width: 180px;
                            }
                        }
                    }

                    li:hover {
                        transform: translateY(-2px);
                        box-shadow: 10px 10px 10px 3px #ddd;
                        transition: 0.3s;
                    }
                }
            }
        }
    }

    //搭配
    .collocation {
        width: $w;
        margin: 0 auto;
        height: 670px;
        margin-bottom: 20px;

        .coll_tit {
            height: 57px;
            width: 100%;
            padding-top: 18px;

            span {
                font-size: 22px;
                color: #333333;
            }

            .coll_nav {
                float: $r;

                a {
                    display: inline-block;

                    margin-left: 30px;
                    font-size: 16px;
                    color: #333333;
                }

                a:first-child {
                    border-bottom: 2px solid #ff7d23;
                    color: #ff7d23;
                }

                :hover {
                    border-bottom: 2px solid #ff7d23;
                    color: #ff7d23;
                }
            }
        }

        .coll_list {
            height: 614px;
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            align-content: space-between;
            justify-content: space-between;

            a {
                li {
                    width: 239px;
                    height: 303px;
                    background-color: #ffffff;
                    text-align: center;

                    p:nth-of-type(1) {
                        font-size: 16px;
                        color: #000;
                        margin: 5px 0 8px 0;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        -o-text-overflow: ellipsis;
                    }

                    p:nth-of-type(2) {
                        font-size: 14px;
                        margin-top: 13px;
                    }

                    span {
                        color: #ff7d23;
                        font-size: 15px;

                    }

                    img {
                        height: 100%;
                        width: 100%;
                    }

                    .coll_lsit_img {
                        width: 100%;
                        height: 200px;
                        text-align: center;

                        img {
                            width: 200px;
                            height: 100%;
                        }
                    }
                }

                li:hover {
                    transform: translateY(-2px);
                    box-shadow: 10px 10px 10px 3px #ddd;
                    transition: 0.3s;
                }
            }
        }
    }

    //配件
    .access {
        width: $w;
        margin: 0 auto;
        height: 670px;
        margin-bottom: 20px;

        .acc_tit {
            height: 57px;
            width: 100%;
            padding-top: 18px;

            span {
                font-size: 22px;
                color: #333333;
            }

            .acc_nav {
                float: $r;

                a {
                    display: inline-block;

                    margin-left: 30px;
                    font-size: 16px;
                    color: #333333;
                }

                a:first-child {
                    border-bottom: 2px solid #ff7d23;
                    color: #ff7d23;
                }

                a:hover {
                    border-bottom: 2px solid #ff7d23;
                    color: #ff7d23;
                }
            }
        }

        .acc_list {
            height: 614px;
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            align-content: space-between;
            justify-content: space-between;

            a {
                li {
                    width: 239px;
                    height: 303px;
                    background-color: #ffffff;
                    text-align: center;

                    p:nth-of-type(1) {
                        font-size: 16px;
                        color: #000;
                        margin: 5px 0 8px 0;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        -o-text-overflow: ellipsis;
                    }

                    p:nth-of-type(2) {
                        font-size: 14px;
                        margin-top: 13px;
                    }



                    .acc_lsit_img {
                        width: 100%;
                        height: 194px;
                        text-align: center;

                        img {
                            width: 100%;
                            height: 100%;
                        }
                    }

                    span {
                        color: #ff7d23;
                        font-size: 15px;

                    }
                }

                li:hover {
                    transform: translateY(-2px);
                    box-shadow: 10px 10px 10px 3px #ddd;
                    transition: 0.3s;
                }

                .li_img {
                    img {
                        height: 100%;
                        width: 100%;
                    }
                }
            }



        }

    }

    //周边
    .rim {
        width: $w;
        margin: 0 auto;
        height: 720px;
        margin-bottom: 20px;

        .rim_tit {
            height: 57px;
            width: 100%;
            padding-top: 18px;

            span {
                font-size: 22px;
                color: #333333;
            }

            .rim_nav {
                float: $r;

                a {
                    display: inline-block;

                    margin-left: 30px;
                    font-size: 16px;
                    color: #333333;
                }

                a:first-child {
                    border-bottom: 2px solid #ff7d23;
                    color: #ff7d23;
                }

                a:hover {
                    border-bottom: 2px solid #ff7d23;
                    color: #ff7d23;
                }
            }

        }

        .rim_list {
            height: 614px;
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            align-content: space-between;
            justify-content: space-between;

            a {
                li {
                    width: 239px;
                    height: 303px;
                    background-color: #ffffff;
                    text-align: center;

                    p:nth-of-type(1) {
                        font-size: 16px;
                        color: #000;
                        margin: 5px 0 8px 0;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        -o-text-overflow: ellipsis;
                    }

                    p:nth-of-type(2) {
                        font-size: 14px;
                        margin-top: 13px;
                    }

                    span {
                        color: #ff7d23;
                        font-size: 15px;

                    }

                    .coll_lsit_img {
                        width: 100%;
                        height: 200px;
                        text-align: center;

                        img {
                            width: 200px;
                            height: 100%;
                        }
                    }
                }

                li:hover {
                    transform: translateY(-2px);
                    box-shadow: 10px 10px 10px 3px #ddd;
                    transition: 0.3s;
                }

                .li_img {
                    img {
                        height: 100%;
                        width: 100%;
                    }
                }
            }

        }
    }


}


.footer {
    width: $w;
    margin: 0 auto;
    height: 272px;

    .sales {
        height: 80px;
        width: 100%;
        padding-top: 30px;
        border-bottom: 1px solid #e8e8e8;
        margin-bottom: 20px;

        a {
            display: inline-block;
            padding: 0 50px 0 50px;
            border-right: 1px solid #e8e8e8;
            color: #797979;
            font-size: 18px;

            i {
                font-family: 'icomoon';
                font-size: 25px;
            }

        }

        a:last-child {
            border-right: none;
        }
    }

    .dibu {
        height: 190px;
        width: 100%;

        .d_nav {
            float: $l;
            width: 956px;
            /* height: 194px; */
            border-right: 1px solid #e8e8e8;

            li {
                float: left;
                width: 152px;
                height: 100%;

                .title {
                    font-size: 16px;
                    font-weight: 600;
                    margin: 20px 0 15px 0;
                }

                a {
                    display: block;
                    font-size: 14px;
                    line-height: 25px;
                }
            }
        }

        .tel {
            float: $l;
            width: 250px;
            text-align: center;

            p:first-child {
                font-size: 20px;
                color: orangered;
                margin-bottom: 5px;
            }

            span {
                display: inline-block;
                height: 30px;
                line-height: 25px;
                width: 140px;
                border: 1px solid orangered;
                font-size: 14px;
                color: orangered;
                margin-top: 20px;

                i {
                    font-family: 'icomoon';
                    font-size: 20px;
                    color: orangered;
                }
            }
        }
    }

}

//版权 
.copyright {
    height: 167px;
    width: 100%;
    background-color: #fafafa;

    .copy {
        width: $w;
        margin: 0 auto;
        height: 100%;

        .copy_logo {
            float: $l;
            // visibility: hidden;
            // clear: both;
            // display: block;
            // content: ".";
            // height: 0;

            img {
                width: 56px;
                height: 56px;
            }
        }

        .copy_nav {
            float: $l;
            // visibility: hidden;
            // clear: both;
            // display: block;
            // content: ".";
            // height: 0;

            a {
                color: #a07575;

                .seb {
                    margin: 0.15em;
                }
            }




        }
    }

    .copy_p {
        text-align: center;
        font-size: 20px;
        color: #bababa;
        display: block;
        background-color: #fafafa;
    }




}


// 侧边导航
.c_nav_f {
    width: 90px;
    height: 455px;
    background-color: rgb(255, 255, 255);
    position: fixed;
    bottom: 80px;
    right: 0;
    z-index: 99;
    border-left: 3px solid #f1f1f1;
    border-bottom: 3px solid #f1f1f1;

    a {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        display: flex;
        height: 114px;
        width: 100%;
        border-top: 3px solid #f1f1f1;

        i {
            font-size: 24px;
        }

        span {
            font-size: 18px;
        }
    }
}